/*
 * Copyright (c) 2007-2021 西安交通信息投资营运有限公司 版权所有
 */

package com.xci.xajtfb.bus.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import com.github.lvyanyang.core.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

import java.util.List;

/**
 * 单程线路信息
 * @author 马星俊 maxingjun@xci96716.com
 * @since 2021-03-09 10:28:18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "单程线路信息")
public class SegmentInfo extends BaseEntity {
    /**
     * 线路ID
     */
    @ApiModelProperty(value = "线路ID", position = 1)
    private String lineId;

    /**
     * 线路名称
     */
    @ApiModelProperty(value = "线路序号", position = 2)
    private String lineSerial;

    /**
     * 单程线路ID
     */
    @ApiModelProperty(value = "单程线路ID", position = 3)
    private String segmentId;

    /**
     * 起点站
     */
    @ApiModelProperty(value = "起点站", position = 6)
    private String stationFrom;

    /**
     * 终点站
     */
    @ApiModelProperty(value = "终点站", position = 7)
    private String stationTo;

    /**
     * 起点站首班时间
     */
    @ApiModelProperty(value = "起点站首班时间", position = 8)
    private String firstTime;

    /**
     * 起点站末班时间
     */
    @ApiModelProperty(value = "起点站末班时间", position = 9)
    private String lastTime;

    /**
     * 站点数
     */
    @ApiModelProperty(value = "站点数", position = 17)
    private Integer stationNumber;

    /**
     * 票价
     */
    @ApiModelProperty(value = "票价", position = 20)
    private Double ticketPrice;

    /**
     * 站点列表
     */
    @ApiModelProperty(value = "站点列表", position = 20)
    private List<TbBusStation> stations;



}